package cn.llming.gift.exception;

public class LlmingException extends RuntimeException{
    private Integer code;

    public LlmingException() {
        super();
    }

    public LlmingException(String message) {
        super(message);
    }

    public LlmingException(String message, Throwable cause) {
        super(message, cause);
    }

    public LlmingException(Throwable cause) {
        super(cause);
    }

    //================================

    public LlmingException(String message,Integer code) {
        super(message);
        this.code=code;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public LlmingException(String message, Throwable cause, Integer code) {
        super(message, cause);
        this.code=code;
    }

    public LlmingException(Throwable cause,Integer code) {
        super(cause);
        this.code=code;
    }


}
